﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using IntelFront.Attributes;
using IntelFront.Agent;

namespace IntelFront.Controllers
{
    public class ApiController : BaseController
    {
        public Client client;

        public ApiController() : base()
        {
            this.client = new Client();
        }

        // GET: Api/getConnectList
        [Public]
        public string getConnectList()
        {
            return client.getConnectList();
        }

        [Public]
        public string getTemperature()
        {
            return client.getTemperature();
        }
    }
}